package com.nine.pattern.prototype;

/**
 * @author nine
 * @version 1.0
 * @description TODO
 * @date 2024-07-03 22:11
 */
public class Citation implements Cloneable {

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void show() {
		System.out.println(name + "同学，获得三好学生");
	}

	@Override
	protected Citation clone() throws CloneNotSupportedException {
		return (Citation) super.clone();
	}
}
